<?php
/*
*	公共底部导航
*/
?>
<!-- <script language="javascript" src="https://ala.zoosnet.net/JS/LsJS.aspx?siteid=ALA12870186&float=1&lng=cn"></script> -->
 <div class="backup" id="up"><img src="<?php echo get_template_directory_uri();?>/images/topBtn.png" ></div>
  <?php
    //专题页调用专题公共板块
    if(is_single()){
        if(get_post_type($post->ID)=='special'){
            get_sidebar('special');
        }
    }
  ?>
  
  	<div class="ad_number_bottom padd">
		<p>惠州鹏爱医疗美容医院</p>
        
		<p><?php echo the_field('address','options');?></p>
        
		<p>美丽热线:<?php the_field('tel','options');?></p>
		<p>医疗广告审查证明<?php echo the_field('ad_number','options');?></p>
        <p class="p3">备案号：<a href="https://beian.miit.gov.cn/" target="_blank"></a></p>
  	</div>



<?php
    wp_footer();
    //商务通统计代码   商务通统计代码、此代码不可以删除、否则导致商务通无法咨询和统计不到用户轨迹
    the_field('swt_js','options');
    //其他统计代码
    the_field('Code_Statistics','options');

?>
<!-- 首页底部20180619start -->
<footer class="new_foot">
    <ul class="menu">
        <li class="li1">
            <a href="/">
                <i></i>
                <span>首页</span>
            </a>
            <a href="/special/huanyanxinfs/">
                <i></i>
                <span>优惠</span>
            </a>
            <a href="javascript:void(0)" onclick="openZoosUrl();">
                <div style="position:relative;">
                <img src="/wp-content/themes/pai2016/images/onlineConsult.png">
                <sup class="sj">39+</sup>
                </div>
            </a>
            <a href="javascript:void(0)" >
                <i></i>
                <span>项目</span>
            </a>
            <a href="javascript:void(0)" onclick="openZoosUrl();">
                <i></i>
                <span>拨打电话</span>
            </a>
        </li>
    </ul>
</footer>

<!-- 商务通右侧小标 -->


<a href="<?php the_field('swt_link','options'); ?>" class="s-ripple">

    <i class="ripple-a"></i>

    <i class="ripple">点击<br>咨询</i>

    <i class="ripple-b"></i>

</a> 

<!-- 底部弹窗 20190412加 -->
<div id="footTool" class="float_container  cf" style="visibility:visible;">
    <div class="title1"><a href="tel:tel:<?php the_field('tel','options');?>" class="dianhua"><img src="/wp-content/themes/pai2016/images/footerSwt_dianhua.png"></a>
            美丽热线：<a href="tel:<?php the_field('tel','options');?>"><?php the_field('tel','options');?></a>
        </div>
    <dl id="tools2" class="cf" style="display: block;">
        <dt><img src="/wp-content/themes/pai2016/images/footerSwt_logo.png"></dt>
        <dd>
            <a href="<?php the_field('swt_link','options'); ?>" style="display: block;">
                <div class="footTool_box">
                    <img src="/wp-content/themes/pai2016/images/smiledcw.gif" alt="smile">您好，请问有什么可以帮到您？鹏爱塑美钜惠，超多惊喜等你来抢！欢迎咨询
                </div>
            </a></dd>
    </dl>
    <div class="footTool_btn1 cf">
        <a class="hideTool" >稍后再说</a><a class="a-jg" href="<?php the_field('swt_link','options'); ?>">立刻回复</a>
    </div>
</div>
<!-- 首页底部20180619end -->
<!-- 首页中间弹窗20180620start -->

<?php /*?>
<div cl<?php /*?>ass="swt_center" style="margin: -150px 0px 0px -140px;animation: swing 1s ease 3s both;border-radius: 15px;top: 45%;">
    <a href="javascript:void(0);" onclick="openZoosUrl('chatwin');"></a>
    <p class="swt_close_n"></p>
    <div class="chatbnt">
        <a href="tel:<?php the_field('tel','options'); ?>" class="swt-tel" style="background: rgb(243, 75, 119);">
            <i><img src="/wp-content/themes/pai2016/images/swt_phone.png" alt=""></i>
            <dl>
                 <dt><?php the_field('tel','options'); ?></dt>
            </dl>
        </a>
        <a  href="javascript:void(0)" onclick="openZoosUrl();" class="swt-chat" style="background: rgb(253, 108, 61);">
            <i>
                <img src="/wp-content/themes/pai2016/images/swt_wxicon.png" alt="">
                <sup class="sj">41+</sup>
            </i>
            <span>在线咨询</span>
        </a>
    </div>
    
    <div class="bohao" style="width: 224px; height: 32px; top: 200px; left: 28px;">

        <input type="text" name="tel" id="bohao_tel" placeholder="请输入电话号码" class="inflow">
        <input type="submit" name="submit" value="回电" class="inflow_btn">
    </div>
</div>
 <?php */?>
<script type="text/javascript">
$(function(){
  setTimeout(function(){
    $('#footTool').css({'visibility':'visible'});
    $('.hideTool').css({'visibility':'visible'});
    $('#footTool').fadeIn();
  },5000);
    $('.hideTool').click(function(){
        $(this).parent().parent().fadeOut();
        $(this).css('visibility','hidden');
        setTimeout(function(){
      $('#footTool').css({'visibility':'visible'});
      $('.hideTool').css({'visibility':'visible'});
      $('#footTool').fadeIn();
    },20000);
    });

//备案号判断
 if((window.location.href).indexOf("payyhz")>-1) {
    $(".p3 a").text('粤ICP备15047438号-3'); 
 }else if((window.location.href).indexOf("pengai.net")>-1){
    $(".p3 a").text('粤ICP备15053083号-12'); 
 }else if((window.location.href).indexOf("pengai.com.cn")>-1){
    $(".p3 a").text('粤ICP备15053083号-14'); 
 }else if((window.location.href).indexOf("pamryy")>-1){
    $(".p3 a").text('粤ICP备15053083号-7'); 
 }else if((window.location.href).indexOf("hzpayy.cn")>-1){
    $(".p3 a").text('粤ICP备15047438号-2'); 
 }else{
    $(".p3 a").text('粤ICP备15053083号-4');
 }  
});
</script>
<script type="text/javascript">
  $(".swt_center").delay(1000).show().animate({
                    top: '45%',
                    'opacity': 1
                }).css({
                    'background': 'url("<?php the_field('swt_img','options')?>") no-repeat',
                    margin: '-150px 0 0 -140px',
                    'background-size': '100% auto',
                    animation: 'swing 1s 3s ease both',
                    'border-radius': '15px'
                });
 $(".swt_close_n").click(function () {
    $('.swt_center').hide(500);
    $(".swt_center").css({animation: 'sc 1s 0.1s ease both'});
    setTimeout(function () {
        $(".swt_center").css({animation: 'cs 1s 0.1s ease both'});
        $('.swt_center').show(500);
    }, 20000);
});
 
 !function(){
       var popMenus=$('.popMenus ');
           isShow = false,
           toggle = function(){
               if(!isShow){
                   popMenus.css('display', 'block');
                   setTimeout(function(){
                       popMenus.addClass('show');
                       
                   });
               }else{
                   popMenus.removeClass('show');
                  
               }
           };
       var menuFooter=$('.new_foot .menu li.li1 a:nth-child(4) i');
       menuFooter.click(toggle);
   }();
</script>
<!-- 首页中间弹窗
<?php /*?>
<script type="text/javascript">
function sb(){
        var i =$('.sj').html();
        setInterval(function(){
            function RandomNumBoth(Min,Max){
                var Range = Max - Min;
                var Rand = Math.random();
                var num = Min + Math.round(Rand * Range); //四舍五入
                return num;
            }
            var ma=RandomNumBoth(40,60);
            // if (i< parseFloat(0.5)) i ++;
            // else i --;
            $('.sj').html(ma+"+");

            // if(i<41)i=40;
            // if(i>60)i=60;
           
        }, 3000)
    }
    sb();
</script>
  <?php */?>
<!--百度统计代码-->
<?php
	the_field('Code_Statistics',"options");
 ?>
<!--违禁词屏蔽-->
<script type="text/javascript" src="http://pai-common-file.oss-cn-beijing.aliyuncs.com/custom.js"></script>